# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=kapow
pkgver=0.5.4
pkgrel=5
pkgdesc="turn shell commands into HTTP API"
url="https://kapow.readthedocs.io/en/stable/"
license="Apache-2.0"
arch="all"
makedepends="go"
source="https://github.com/BBVA/kapow/archive/v$pkgver/kapow-$pkgver.tar.gz"
builddir="$srcdir/kapow-$pkgver"

build() {
	make build
}

#check() {
#	make test
#}

package() {
	install -Dm755 build/kapow "$pkgdir"/usr/bin/kapow
}

sha512sums="a1ee66f2d1404c1b323b8c6b3eaabcd804d61653ad0a28a0b8ffa75d804b8c42cfebf81400a0a5822055ae8135f4f4bcc6ca159aa8c6c701799f4a11cb86d0bb  kapow-0.5.4.tar.gz"
